/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package proyecto2;


import javax.swing.BorderFactory;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.border.Border;

/**
 *
 * @author damian
 */
public class Celda extends JLabel {
    int num;
    String key;
    Icon icono;

    public Celda(int num, String key, Icon icono) {
        this.num = num;
        this.key = key;
        this.icono = icono;
        
    }

    public Celda(int num, String key) {
        this.num = num;
        this.key = key;
        this.setBorder(BorderFactory.createTitledBorder(""));
        this.setSize(48, 48);
        //this.setIcon(new ImageIcon(getClass().getResource("/proyecto2/tanque_icon.png")));
    }


    
    
}
